package com.solt.prism.plugins;

import net.xeoh.plugins.base.Plugin;

import com.solt.prism.core.conf.news.NewsConf;
import com.solt.prism.core.utils.NewsPersistencer;

public interface NewsCrawler extends Plugin {
	
	public void init(NewsConf newsConf, NewsWrapper wrapper, NewsPersistencer persistencer) throws PluginException;
	
	public void crawl() throws InterruptedException;
	
	public void shutdown();
	
	public boolean isShutdowned();
}